﻿using UnityEngine;
using UnityEditor;
using System.Collections;
using System.Collections.Generic;
using TTGameEngine;

/*
 * BaseBuffDataEditor
 *
 *
 *
 * 依赖：
 *
 * ！不写重复代码！
 * @author TTun
 * @date 8/31/2017 8:17:47 PM
 */
[CustomEditor(typeof(BaseBuffData))]
public class BaseBuffDataEditor : Editor {
    private SerializedObject scriptObj;
    private BaseBuffData obj;

    void OnEnable() {
        scriptObj = new SerializedObject(target);


    }

    public override void OnInspectorGUI() {

        scriptObj.Update();

        base.OnInspectorGUI();
        scriptObj.ApplyModifiedProperties();
    }
}
